<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1" import="com.aai.db.*,java.sql.*"%>

<%
	MySQLConnect sql2 = MySQLConnect.getInstance();
	Connection con = sql2.connect();
	if (con != null) {
		String query = "SELECT * FROM news WHERE id='"
				+ request.getAttribute("id") + "'";
		Statement st_news = con.createStatement();
		ResultSet result = st_news.executeQuery(query);
		result.first();
%>
<h3><%=result.getString(2)%></h3>
<center>
	<a href="<%=result.getString(6)%>"><img width="540" src="<%=result.getString(6)%>" /></a>
</center>

<%=result.getString(7)%>


<%
	}
%>